<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="fm" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<% 
	String path = request.getContextPath(); 
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<base href="<%=basePath%>" >
</head>
<body>
<fm:form modelAttribute="user" action="user/addUserSave" method="post">
	用户编号:<fm:input path="userCode"/><fm:errors path="userCode" /></br> 
	用户名:<fm:input path="userName"/><fm:errors path="userName" /></br> 
	用户密码:<fm:password path="userPassword"/><fm:errors path="userPassword" /></br>
	电话:<fm:input path="phone"/><fm:errors path="phone" /></br>
	<input type="submit" value="提交">
</fm:form>

</body>
</html>